package guoanmaker.personal.business.modelnobind;

import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Coupons {
	private String couponid;
	private String isUsed;//是否被使用  0为未使用   1为已使用
	private String couponsname; // 优惠券名称
	private Date startcouponstime;// 优惠券起始时间
	private Date endCouponstime;// 优惠券结束时间
	private String couponstype;// 优惠券类型 0 ：直减 1：满减 2：打折(目前只有满减一种)
	private Double lapseamount; // 直减金额
	private Double fullamount; //满（）金额
	private Double subamount;//减（）金额
	private Double discount;//折扣率
	private String serverid;//二级分类id
	private String servername; //二级分类名称

	public Coupons(String couponid, String isUsed, String couponsname, Date startcouponstime, Date endCouponstime, String couponstype, Double lapseamount, Double fullamount, Double subamount, Double discount, String serverid) {
		this.couponid = couponid;
		this.isUsed = isUsed;
		this.couponsname = couponsname;
		this.startcouponstime = startcouponstime;
		this.endCouponstime = endCouponstime;
		this.couponstype = couponstype;
		this.lapseamount = lapseamount;
		this.fullamount = fullamount;
		this.subamount = subamount;
		this.discount = discount;
		this.serverid = serverid;
	}
}
